import { ChangeDetectionStrategy, Component } from '@angular/core';
import { InputTagItem } from '@iux/live/input-tag/interface';

@Component({
  selector: 'app-batch-input',
  templateUrl: './batch-input.component.html',
  changeDetection: ChangeDetectionStrategy.OnPush,
})
export class BatchInputComponent {
  value: (InputTagItem | string)[];

  valueChange(value: (InputTagItem | string)[]): void {
    console.log(value);
  }

  onChange(data: { value: string[]; tagValue: (string | InputTagItem)[]; e: Event }): void {
    console.log(data);
  }
}
